#!/bin/sh

echo "<html><head><style>
body {
  line-height: 20px;
  font-family: monospace;
  font-size: 16px;
}

.hl-t {
  color: #444;
}

.hl-def {
  color: #444;
}

.hl-comment {
  color: #999;
}

.hl-call {
  color: #111;
}

.hl-func {
  color: #8250df;
}

.hl-expr {
  color: #cf222e;
}

.hl-type {
  color: #0550ae;
}

.hl-quote {
  color: #0a3069;
}

.hl-decl {
  color: #cf222e;
}
</style>
</head>
<body>
" > /tmp/test.html

./highlight -t $1 >> /tmp/test.html

echo "
</body>
</html>" >> /tmp/test.html

